package com.future.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentVO {
    private Long id;
    private Long parentId;
    private Long targetId;
    private Integer targetType;
    private Long userId;
    private String userIdStr;
    private String username;
    private String avatar;
    private String content;
    private LocalDateTime createdAt;
    private Long likeCount;

    private List<CommentVO> children; // 子评论列表（树形结构用）
}
